#include<bits/stdc++.h>

using namespace std;
//二重循环
int main() {
    int x, y;
    for (x = 1; x <= 10; x++) {
        for (y = 1; y <= 10; y++) {
            printf("(%d,%d)", x, y);
        }
        printf("\n");
    }
    return 0;
}
